projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05c4c9
)
(dired-insert-directory): Fix check for indentation from ls --dired.
author
André Spiegel
<spiegel@gnu.org>
Thu, 10 Oct 2002 22:30:26 +0000
(22:30 +0000)
committer
André Spiegel
<spiegel@gnu.org>
Thu, 10 Oct 2002 22:30:26 +0000
(22:30 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 71e4dd35d1932495f4810693c94e983b687fbd0b..6aebd08d4875c790899a48e223d4b9eb7b0fffda 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-701,7
+701,7
@@
If HDR is non-nil, insert a header line with the directory name."
;; If we used --dired and it worked, the lines are already indented.
;; Otherwise, indent them.
(unless (save-excursion
- (
forward-line -1
)
+ (
beginning-of-buffer
)
(looking-at " "))
(let ((indent-tabs-mode nil))
(indent-rigidly opoint (point) 2)))